{% extends 'mobile/base.html' %}

{% from 'includes/mobile/common_macros.html' import errorlist %}

{% set headline = _('Retrieve username') %}
{% set title = headline %}

{% set styles = ('mobile-users',) %}
{% set classes = 'forgot-username' %}

{% block content %}
  <p>
    {% trans %} Forgotten your username? Enter your email address below,
      and we'll send it to you.
    {% endtrans %}
  </p>
  {{ errorlist(form) }}
  <form method="post" action="{{ request.path }}">
    {% csrf_token %}
    {{ form }}
    <button type="submit" class="btn btn-submit">{{ _('Send username') }}</button>
  </form>
{% endblock %}
